package com.appkubes.mall.core.pojo;

import com.appkubes.mall.core.po.MallGoodsTaobao;
import com.appkubes.mall.core.po.MallGoodsTaobaoExample;
import java.util.List;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.Update;
import org.apache.ibatis.annotations.UpdateProvider;
import org.apache.ibatis.session.RowBounds;
import org.apache.ibatis.type.JdbcType;

public interface MallGoodsTaobaoMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @SelectProvider(type=MallGoodsTaobaoSqlProvider.class, method="countByExample")
    long countByExample(MallGoodsTaobaoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @DeleteProvider(type=MallGoodsTaobaoSqlProvider.class, method="deleteByExample")
    int deleteByExample(MallGoodsTaobaoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @Delete({
        "delete from mall_goods_taobao",
        "where goods_key = #{goodsKey,jdbcType=VARCHAR}"
    })
    int deleteByPrimaryKey(String goodsKey);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @Insert({
        "insert into mall_goods_taobao (goods_key, app_key, ",
        "goods_id, coupon_id, ",
        "item_link, title, ",
        "dtitle, promotion_text, ",
        "cid, subcid, tbcid, ",
        "main_pic, marketing_main_pic, ",
        "original_price, actual_price, ",
        "discounts, commission_type, ",
        "commission_rate, commission, ",
        "coupon_link, coupon_total_num, ",
        "coupon_receive_num, coupon_end_time, ",
        "coupon_start_time, coupon_price, ",
        "coupon_conditions, month_sales, ",
        "two_hours_sales, daily_sales, ",
        "brand, brand_id, brand_name, ",
        "putaway_time, tchaoshi, ",
        "activity_type, activity_start_time, ",
        "activity_end_time, shop_type, ",
        "gold_sellers, haitao, ",
        "seller_id, shop_name, ",
        "shop_level, desc_score, ",
        "dsr_score, dsr_percent, ",
        "ship_score, ship_percent, ",
        "service_score, service_percent, ",
        "hot_push, customer_key, ",
        "team_name, detail_pics, ",
        "imgs, reimgs, quan_mLink, ",
        "hz_quan_over, yunfeixian, ",
        "estimate_amount, shop_logo, ",
        "update_time, create_time, ",
        "version)",
        "values (#{goodsKey,jdbcType=VARCHAR}, #{appKey,jdbcType=VARCHAR}, ",
        "#{goodsId,jdbcType=VARCHAR}, #{couponId,jdbcType=VARCHAR}, ",
        "#{itemLink,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, ",
        "#{dtitle,jdbcType=VARCHAR}, #{promotionText,jdbcType=VARCHAR}, ",
        "#{cid,jdbcType=INTEGER}, #{subcid,jdbcType=VARCHAR}, #{tbcid,jdbcType=INTEGER}, ",
        "#{mainPic,jdbcType=VARCHAR}, #{marketingMainPic,jdbcType=VARCHAR}, ",
        "#{originalPrice,jdbcType=DECIMAL}, #{actualPrice,jdbcType=DECIMAL}, ",
        "#{discounts,jdbcType=DECIMAL}, #{commissionType,jdbcType=INTEGER}, ",
        "#{commissionRate,jdbcType=DECIMAL}, #{commission,jdbcType=DECIMAL}, ",
        "#{couponLink,jdbcType=VARCHAR}, #{couponTotalNum,jdbcType=INTEGER}, ",
        "#{couponReceiveNum,jdbcType=INTEGER}, #{couponEndTime,jdbcType=TIMESTAMP}, ",
        "#{couponStartTime,jdbcType=TIMESTAMP}, #{couponPrice,jdbcType=INTEGER}, ",
        "#{couponConditions,jdbcType=VARCHAR}, #{monthSales,jdbcType=INTEGER}, ",
        "#{twoHoursSales,jdbcType=INTEGER}, #{dailySales,jdbcType=INTEGER}, ",
        "#{brand,jdbcType=INTEGER}, #{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, ",
        "#{putawayTime,jdbcType=TIMESTAMP}, #{tchaoshi,jdbcType=INTEGER}, ",
        "#{activityType,jdbcType=INTEGER}, #{activityStartTime,jdbcType=TIMESTAMP}, ",
        "#{activityEndTime,jdbcType=TIMESTAMP}, #{shopType,jdbcType=INTEGER}, ",
        "#{goldSellers,jdbcType=INTEGER}, #{haitao,jdbcType=INTEGER}, ",
        "#{sellerId,jdbcType=VARCHAR}, #{shopName,jdbcType=VARCHAR}, ",
        "#{shopLevel,jdbcType=INTEGER}, #{descScore,jdbcType=DECIMAL}, ",
        "#{dsrScore,jdbcType=DECIMAL}, #{dsrPercent,jdbcType=DECIMAL}, ",
        "#{shipScore,jdbcType=DECIMAL}, #{shipPercent,jdbcType=DECIMAL}, ",
        "#{serviceScore,jdbcType=DECIMAL}, #{servicePercent,jdbcType=DECIMAL}, ",
        "#{hotPush,jdbcType=INTEGER}, #{customerKey,jdbcType=VARCHAR}, ",
        "#{teamName,jdbcType=VARCHAR}, #{detailPics,jdbcType=VARCHAR}, ",
        "#{imgs,jdbcType=VARCHAR}, #{reimgs,jdbcType=VARCHAR}, #{quanMlink,jdbcType=INTEGER}, ",
        "#{hzQuanOver,jdbcType=INTEGER}, #{yunfeixian,jdbcType=INTEGER}, ",
        "#{estimateAmount,jdbcType=DECIMAL}, #{shopLogo,jdbcType=VARCHAR}, ",
        "#{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, ",
        "#{version,jdbcType=INTEGER})"
    })
    int insert(MallGoodsTaobao record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @InsertProvider(type=MallGoodsTaobaoSqlProvider.class, method="insertSelective")
    int insertSelective(MallGoodsTaobao record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @SelectProvider(type=MallGoodsTaobaoSqlProvider.class, method="selectByExample")
    @Results({
        @Result(column="goods_key", property="goodsKey", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_id", property="goodsId", jdbcType=JdbcType.VARCHAR),
        @Result(column="coupon_id", property="couponId", jdbcType=JdbcType.VARCHAR),
        @Result(column="item_link", property="itemLink", jdbcType=JdbcType.VARCHAR),
        @Result(column="title", property="title", jdbcType=JdbcType.VARCHAR),
        @Result(column="dtitle", property="dtitle", jdbcType=JdbcType.VARCHAR),
        @Result(column="promotion_text", property="promotionText", jdbcType=JdbcType.VARCHAR),
        @Result(column="cid", property="cid", jdbcType=JdbcType.INTEGER),
        @Result(column="subcid", property="subcid", jdbcType=JdbcType.VARCHAR),
        @Result(column="tbcid", property="tbcid", jdbcType=JdbcType.INTEGER),
        @Result(column="main_pic", property="mainPic", jdbcType=JdbcType.VARCHAR),
        @Result(column="marketing_main_pic", property="marketingMainPic", jdbcType=JdbcType.VARCHAR),
        @Result(column="original_price", property="originalPrice", jdbcType=JdbcType.DECIMAL),
        @Result(column="actual_price", property="actualPrice", jdbcType=JdbcType.DECIMAL),
        @Result(column="discounts", property="discounts", jdbcType=JdbcType.DECIMAL),
        @Result(column="commission_type", property="commissionType", jdbcType=JdbcType.INTEGER),
        @Result(column="commission_rate", property="commissionRate", jdbcType=JdbcType.DECIMAL),
        @Result(column="commission", property="commission", jdbcType=JdbcType.DECIMAL),
        @Result(column="coupon_link", property="couponLink", jdbcType=JdbcType.VARCHAR),
        @Result(column="coupon_total_num", property="couponTotalNum", jdbcType=JdbcType.INTEGER),
        @Result(column="coupon_receive_num", property="couponReceiveNum", jdbcType=JdbcType.INTEGER),
        @Result(column="coupon_end_time", property="couponEndTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="coupon_start_time", property="couponStartTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="coupon_price", property="couponPrice", jdbcType=JdbcType.INTEGER),
        @Result(column="coupon_conditions", property="couponConditions", jdbcType=JdbcType.VARCHAR),
        @Result(column="month_sales", property="monthSales", jdbcType=JdbcType.INTEGER),
        @Result(column="two_hours_sales", property="twoHoursSales", jdbcType=JdbcType.INTEGER),
        @Result(column="daily_sales", property="dailySales", jdbcType=JdbcType.INTEGER),
        @Result(column="brand", property="brand", jdbcType=JdbcType.INTEGER),
        @Result(column="brand_id", property="brandId", jdbcType=JdbcType.BIGINT),
        @Result(column="brand_name", property="brandName", jdbcType=JdbcType.VARCHAR),
        @Result(column="putaway_time", property="putawayTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="tchaoshi", property="tchaoshi", jdbcType=JdbcType.INTEGER),
        @Result(column="activity_type", property="activityType", jdbcType=JdbcType.INTEGER),
        @Result(column="activity_start_time", property="activityStartTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="activity_end_time", property="activityEndTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="shop_type", property="shopType", jdbcType=JdbcType.INTEGER),
        @Result(column="gold_sellers", property="goldSellers", jdbcType=JdbcType.INTEGER),
        @Result(column="haitao", property="haitao", jdbcType=JdbcType.INTEGER),
        @Result(column="seller_id", property="sellerId", jdbcType=JdbcType.VARCHAR),
        @Result(column="shop_name", property="shopName", jdbcType=JdbcType.VARCHAR),
        @Result(column="shop_level", property="shopLevel", jdbcType=JdbcType.INTEGER),
        @Result(column="desc_score", property="descScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="dsr_score", property="dsrScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="dsr_percent", property="dsrPercent", jdbcType=JdbcType.DECIMAL),
        @Result(column="ship_score", property="shipScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="ship_percent", property="shipPercent", jdbcType=JdbcType.DECIMAL),
        @Result(column="service_score", property="serviceScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="service_percent", property="servicePercent", jdbcType=JdbcType.DECIMAL),
        @Result(column="hot_push", property="hotPush", jdbcType=JdbcType.INTEGER),
        @Result(column="customer_key", property="customerKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="team_name", property="teamName", jdbcType=JdbcType.VARCHAR),
        @Result(column="detail_pics", property="detailPics", jdbcType=JdbcType.VARCHAR),
        @Result(column="imgs", property="imgs", jdbcType=JdbcType.VARCHAR),
        @Result(column="reimgs", property="reimgs", jdbcType=JdbcType.VARCHAR),
        @Result(column="quan_mLink", property="quanMlink", jdbcType=JdbcType.INTEGER),
        @Result(column="hz_quan_over", property="hzQuanOver", jdbcType=JdbcType.INTEGER),
        @Result(column="yunfeixian", property="yunfeixian", jdbcType=JdbcType.INTEGER),
        @Result(column="estimate_amount", property="estimateAmount", jdbcType=JdbcType.DECIMAL),
        @Result(column="shop_logo", property="shopLogo", jdbcType=JdbcType.VARCHAR),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="version", property="version", jdbcType=JdbcType.INTEGER)
    })
    List<MallGoodsTaobao> selectByExampleWithRowbounds(MallGoodsTaobaoExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @SelectProvider(type=MallGoodsTaobaoSqlProvider.class, method="selectByExample")
    @Results({
        @Result(column="goods_key", property="goodsKey", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_id", property="goodsId", jdbcType=JdbcType.VARCHAR),
        @Result(column="coupon_id", property="couponId", jdbcType=JdbcType.VARCHAR),
        @Result(column="item_link", property="itemLink", jdbcType=JdbcType.VARCHAR),
        @Result(column="title", property="title", jdbcType=JdbcType.VARCHAR),
        @Result(column="dtitle", property="dtitle", jdbcType=JdbcType.VARCHAR),
        @Result(column="promotion_text", property="promotionText", jdbcType=JdbcType.VARCHAR),
        @Result(column="cid", property="cid", jdbcType=JdbcType.INTEGER),
        @Result(column="subcid", property="subcid", jdbcType=JdbcType.VARCHAR),
        @Result(column="tbcid", property="tbcid", jdbcType=JdbcType.INTEGER),
        @Result(column="main_pic", property="mainPic", jdbcType=JdbcType.VARCHAR),
        @Result(column="marketing_main_pic", property="marketingMainPic", jdbcType=JdbcType.VARCHAR),
        @Result(column="original_price", property="originalPrice", jdbcType=JdbcType.DECIMAL),
        @Result(column="actual_price", property="actualPrice", jdbcType=JdbcType.DECIMAL),
        @Result(column="discounts", property="discounts", jdbcType=JdbcType.DECIMAL),
        @Result(column="commission_type", property="commissionType", jdbcType=JdbcType.INTEGER),
        @Result(column="commission_rate", property="commissionRate", jdbcType=JdbcType.DECIMAL),
        @Result(column="commission", property="commission", jdbcType=JdbcType.DECIMAL),
        @Result(column="coupon_link", property="couponLink", jdbcType=JdbcType.VARCHAR),
        @Result(column="coupon_total_num", property="couponTotalNum", jdbcType=JdbcType.INTEGER),
        @Result(column="coupon_receive_num", property="couponReceiveNum", jdbcType=JdbcType.INTEGER),
        @Result(column="coupon_end_time", property="couponEndTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="coupon_start_time", property="couponStartTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="coupon_price", property="couponPrice", jdbcType=JdbcType.INTEGER),
        @Result(column="coupon_conditions", property="couponConditions", jdbcType=JdbcType.VARCHAR),
        @Result(column="month_sales", property="monthSales", jdbcType=JdbcType.INTEGER),
        @Result(column="two_hours_sales", property="twoHoursSales", jdbcType=JdbcType.INTEGER),
        @Result(column="daily_sales", property="dailySales", jdbcType=JdbcType.INTEGER),
        @Result(column="brand", property="brand", jdbcType=JdbcType.INTEGER),
        @Result(column="brand_id", property="brandId", jdbcType=JdbcType.BIGINT),
        @Result(column="brand_name", property="brandName", jdbcType=JdbcType.VARCHAR),
        @Result(column="putaway_time", property="putawayTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="tchaoshi", property="tchaoshi", jdbcType=JdbcType.INTEGER),
        @Result(column="activity_type", property="activityType", jdbcType=JdbcType.INTEGER),
        @Result(column="activity_start_time", property="activityStartTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="activity_end_time", property="activityEndTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="shop_type", property="shopType", jdbcType=JdbcType.INTEGER),
        @Result(column="gold_sellers", property="goldSellers", jdbcType=JdbcType.INTEGER),
        @Result(column="haitao", property="haitao", jdbcType=JdbcType.INTEGER),
        @Result(column="seller_id", property="sellerId", jdbcType=JdbcType.VARCHAR),
        @Result(column="shop_name", property="shopName", jdbcType=JdbcType.VARCHAR),
        @Result(column="shop_level", property="shopLevel", jdbcType=JdbcType.INTEGER),
        @Result(column="desc_score", property="descScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="dsr_score", property="dsrScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="dsr_percent", property="dsrPercent", jdbcType=JdbcType.DECIMAL),
        @Result(column="ship_score", property="shipScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="ship_percent", property="shipPercent", jdbcType=JdbcType.DECIMAL),
        @Result(column="service_score", property="serviceScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="service_percent", property="servicePercent", jdbcType=JdbcType.DECIMAL),
        @Result(column="hot_push", property="hotPush", jdbcType=JdbcType.INTEGER),
        @Result(column="customer_key", property="customerKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="team_name", property="teamName", jdbcType=JdbcType.VARCHAR),
        @Result(column="detail_pics", property="detailPics", jdbcType=JdbcType.VARCHAR),
        @Result(column="imgs", property="imgs", jdbcType=JdbcType.VARCHAR),
        @Result(column="reimgs", property="reimgs", jdbcType=JdbcType.VARCHAR),
        @Result(column="quan_mLink", property="quanMlink", jdbcType=JdbcType.INTEGER),
        @Result(column="hz_quan_over", property="hzQuanOver", jdbcType=JdbcType.INTEGER),
        @Result(column="yunfeixian", property="yunfeixian", jdbcType=JdbcType.INTEGER),
        @Result(column="estimate_amount", property="estimateAmount", jdbcType=JdbcType.DECIMAL),
        @Result(column="shop_logo", property="shopLogo", jdbcType=JdbcType.VARCHAR),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="version", property="version", jdbcType=JdbcType.INTEGER)
    })
    List<MallGoodsTaobao> selectByExample(MallGoodsTaobaoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @Select({
        "select",
        "goods_key, app_key, goods_id, coupon_id, item_link, title, dtitle, promotion_text, ",
        "cid, subcid, tbcid, main_pic, marketing_main_pic, original_price, actual_price, ",
        "discounts, commission_type, commission_rate, commission, coupon_link, coupon_total_num, ",
        "coupon_receive_num, coupon_end_time, coupon_start_time, coupon_price, coupon_conditions, ",
        "month_sales, two_hours_sales, daily_sales, brand, brand_id, brand_name, putaway_time, ",
        "tchaoshi, activity_type, activity_start_time, activity_end_time, shop_type, ",
        "gold_sellers, haitao, seller_id, shop_name, shop_level, desc_score, dsr_score, ",
        "dsr_percent, ship_score, ship_percent, service_score, service_percent, hot_push, ",
        "customer_key, team_name, detail_pics, imgs, reimgs, quan_mLink, hz_quan_over, ",
        "yunfeixian, estimate_amount, shop_logo, update_time, create_time, version",
        "from mall_goods_taobao",
        "where goods_key = #{goodsKey,jdbcType=VARCHAR}"
    })
    @Results({
        @Result(column="goods_key", property="goodsKey", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_id", property="goodsId", jdbcType=JdbcType.VARCHAR),
        @Result(column="coupon_id", property="couponId", jdbcType=JdbcType.VARCHAR),
        @Result(column="item_link", property="itemLink", jdbcType=JdbcType.VARCHAR),
        @Result(column="title", property="title", jdbcType=JdbcType.VARCHAR),
        @Result(column="dtitle", property="dtitle", jdbcType=JdbcType.VARCHAR),
        @Result(column="promotion_text", property="promotionText", jdbcType=JdbcType.VARCHAR),
        @Result(column="cid", property="cid", jdbcType=JdbcType.INTEGER),
        @Result(column="subcid", property="subcid", jdbcType=JdbcType.VARCHAR),
        @Result(column="tbcid", property="tbcid", jdbcType=JdbcType.INTEGER),
        @Result(column="main_pic", property="mainPic", jdbcType=JdbcType.VARCHAR),
        @Result(column="marketing_main_pic", property="marketingMainPic", jdbcType=JdbcType.VARCHAR),
        @Result(column="original_price", property="originalPrice", jdbcType=JdbcType.DECIMAL),
        @Result(column="actual_price", property="actualPrice", jdbcType=JdbcType.DECIMAL),
        @Result(column="discounts", property="discounts", jdbcType=JdbcType.DECIMAL),
        @Result(column="commission_type", property="commissionType", jdbcType=JdbcType.INTEGER),
        @Result(column="commission_rate", property="commissionRate", jdbcType=JdbcType.DECIMAL),
        @Result(column="commission", property="commission", jdbcType=JdbcType.DECIMAL),
        @Result(column="coupon_link", property="couponLink", jdbcType=JdbcType.VARCHAR),
        @Result(column="coupon_total_num", property="couponTotalNum", jdbcType=JdbcType.INTEGER),
        @Result(column="coupon_receive_num", property="couponReceiveNum", jdbcType=JdbcType.INTEGER),
        @Result(column="coupon_end_time", property="couponEndTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="coupon_start_time", property="couponStartTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="coupon_price", property="couponPrice", jdbcType=JdbcType.INTEGER),
        @Result(column="coupon_conditions", property="couponConditions", jdbcType=JdbcType.VARCHAR),
        @Result(column="month_sales", property="monthSales", jdbcType=JdbcType.INTEGER),
        @Result(column="two_hours_sales", property="twoHoursSales", jdbcType=JdbcType.INTEGER),
        @Result(column="daily_sales", property="dailySales", jdbcType=JdbcType.INTEGER),
        @Result(column="brand", property="brand", jdbcType=JdbcType.INTEGER),
        @Result(column="brand_id", property="brandId", jdbcType=JdbcType.BIGINT),
        @Result(column="brand_name", property="brandName", jdbcType=JdbcType.VARCHAR),
        @Result(column="putaway_time", property="putawayTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="tchaoshi", property="tchaoshi", jdbcType=JdbcType.INTEGER),
        @Result(column="activity_type", property="activityType", jdbcType=JdbcType.INTEGER),
        @Result(column="activity_start_time", property="activityStartTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="activity_end_time", property="activityEndTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="shop_type", property="shopType", jdbcType=JdbcType.INTEGER),
        @Result(column="gold_sellers", property="goldSellers", jdbcType=JdbcType.INTEGER),
        @Result(column="haitao", property="haitao", jdbcType=JdbcType.INTEGER),
        @Result(column="seller_id", property="sellerId", jdbcType=JdbcType.VARCHAR),
        @Result(column="shop_name", property="shopName", jdbcType=JdbcType.VARCHAR),
        @Result(column="shop_level", property="shopLevel", jdbcType=JdbcType.INTEGER),
        @Result(column="desc_score", property="descScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="dsr_score", property="dsrScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="dsr_percent", property="dsrPercent", jdbcType=JdbcType.DECIMAL),
        @Result(column="ship_score", property="shipScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="ship_percent", property="shipPercent", jdbcType=JdbcType.DECIMAL),
        @Result(column="service_score", property="serviceScore", jdbcType=JdbcType.DECIMAL),
        @Result(column="service_percent", property="servicePercent", jdbcType=JdbcType.DECIMAL),
        @Result(column="hot_push", property="hotPush", jdbcType=JdbcType.INTEGER),
        @Result(column="customer_key", property="customerKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="team_name", property="teamName", jdbcType=JdbcType.VARCHAR),
        @Result(column="detail_pics", property="detailPics", jdbcType=JdbcType.VARCHAR),
        @Result(column="imgs", property="imgs", jdbcType=JdbcType.VARCHAR),
        @Result(column="reimgs", property="reimgs", jdbcType=JdbcType.VARCHAR),
        @Result(column="quan_mLink", property="quanMlink", jdbcType=JdbcType.INTEGER),
        @Result(column="hz_quan_over", property="hzQuanOver", jdbcType=JdbcType.INTEGER),
        @Result(column="yunfeixian", property="yunfeixian", jdbcType=JdbcType.INTEGER),
        @Result(column="estimate_amount", property="estimateAmount", jdbcType=JdbcType.DECIMAL),
        @Result(column="shop_logo", property="shopLogo", jdbcType=JdbcType.VARCHAR),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="version", property="version", jdbcType=JdbcType.INTEGER)
    })
    MallGoodsTaobao selectByPrimaryKey(String goodsKey);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @UpdateProvider(type=MallGoodsTaobaoSqlProvider.class, method="updateByExampleSelective")
    int updateByExampleSelective(@Param("record") MallGoodsTaobao record, @Param("example") MallGoodsTaobaoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @UpdateProvider(type=MallGoodsTaobaoSqlProvider.class, method="updateByExample")
    int updateByExample(@Param("record") MallGoodsTaobao record, @Param("example") MallGoodsTaobaoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @UpdateProvider(type=MallGoodsTaobaoSqlProvider.class, method="updateByPrimaryKeySelective")
    int updateByPrimaryKeySelective(MallGoodsTaobao record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_goods_taobao
     *
     * @mbg.generated
     */
    @Update({
        "update mall_goods_taobao",
        "set app_key = #{appKey,jdbcType=VARCHAR},",
          "goods_id = #{goodsId,jdbcType=VARCHAR},",
          "coupon_id = #{couponId,jdbcType=VARCHAR},",
          "item_link = #{itemLink,jdbcType=VARCHAR},",
          "title = #{title,jdbcType=VARCHAR},",
          "dtitle = #{dtitle,jdbcType=VARCHAR},",
          "promotion_text = #{promotionText,jdbcType=VARCHAR},",
          "cid = #{cid,jdbcType=INTEGER},",
          "subcid = #{subcid,jdbcType=VARCHAR},",
          "tbcid = #{tbcid,jdbcType=INTEGER},",
          "main_pic = #{mainPic,jdbcType=VARCHAR},",
          "marketing_main_pic = #{marketingMainPic,jdbcType=VARCHAR},",
          "original_price = #{originalPrice,jdbcType=DECIMAL},",
          "actual_price = #{actualPrice,jdbcType=DECIMAL},",
          "discounts = #{discounts,jdbcType=DECIMAL},",
          "commission_type = #{commissionType,jdbcType=INTEGER},",
          "commission_rate = #{commissionRate,jdbcType=DECIMAL},",
          "commission = #{commission,jdbcType=DECIMAL},",
          "coupon_link = #{couponLink,jdbcType=VARCHAR},",
          "coupon_total_num = #{couponTotalNum,jdbcType=INTEGER},",
          "coupon_receive_num = #{couponReceiveNum,jdbcType=INTEGER},",
          "coupon_end_time = #{couponEndTime,jdbcType=TIMESTAMP},",
          "coupon_start_time = #{couponStartTime,jdbcType=TIMESTAMP},",
          "coupon_price = #{couponPrice,jdbcType=INTEGER},",
          "coupon_conditions = #{couponConditions,jdbcType=VARCHAR},",
          "month_sales = #{monthSales,jdbcType=INTEGER},",
          "two_hours_sales = #{twoHoursSales,jdbcType=INTEGER},",
          "daily_sales = #{dailySales,jdbcType=INTEGER},",
          "brand = #{brand,jdbcType=INTEGER},",
          "brand_id = #{brandId,jdbcType=BIGINT},",
          "brand_name = #{brandName,jdbcType=VARCHAR},",
          "putaway_time = #{putawayTime,jdbcType=TIMESTAMP},",
          "tchaoshi = #{tchaoshi,jdbcType=INTEGER},",
          "activity_type = #{activityType,jdbcType=INTEGER},",
          "activity_start_time = #{activityStartTime,jdbcType=TIMESTAMP},",
          "activity_end_time = #{activityEndTime,jdbcType=TIMESTAMP},",
          "shop_type = #{shopType,jdbcType=INTEGER},",
          "gold_sellers = #{goldSellers,jdbcType=INTEGER},",
          "haitao = #{haitao,jdbcType=INTEGER},",
          "seller_id = #{sellerId,jdbcType=VARCHAR},",
          "shop_name = #{shopName,jdbcType=VARCHAR},",
          "shop_level = #{shopLevel,jdbcType=INTEGER},",
          "desc_score = #{descScore,jdbcType=DECIMAL},",
          "dsr_score = #{dsrScore,jdbcType=DECIMAL},",
          "dsr_percent = #{dsrPercent,jdbcType=DECIMAL},",
          "ship_score = #{shipScore,jdbcType=DECIMAL},",
          "ship_percent = #{shipPercent,jdbcType=DECIMAL},",
          "service_score = #{serviceScore,jdbcType=DECIMAL},",
          "service_percent = #{servicePercent,jdbcType=DECIMAL},",
          "hot_push = #{hotPush,jdbcType=INTEGER},",
          "customer_key = #{customerKey,jdbcType=VARCHAR},",
          "team_name = #{teamName,jdbcType=VARCHAR},",
          "detail_pics = #{detailPics,jdbcType=VARCHAR},",
          "imgs = #{imgs,jdbcType=VARCHAR},",
          "reimgs = #{reimgs,jdbcType=VARCHAR},",
          "quan_mLink = #{quanMlink,jdbcType=INTEGER},",
          "hz_quan_over = #{hzQuanOver,jdbcType=INTEGER},",
          "yunfeixian = #{yunfeixian,jdbcType=INTEGER},",
          "estimate_amount = #{estimateAmount,jdbcType=DECIMAL},",
          "shop_logo = #{shopLogo,jdbcType=VARCHAR},",
          "update_time = #{updateTime,jdbcType=TIMESTAMP},",
          "create_time = #{createTime,jdbcType=TIMESTAMP},",
          "version = #{version,jdbcType=INTEGER}",
        "where goods_key = #{goodsKey,jdbcType=VARCHAR}"
    })
    int updateByPrimaryKey(MallGoodsTaobao record);
}